{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post" >
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title">值日考勤修改</p>
                </div>
                    <div class="box-body">
                        <div class="form-group">
                              <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
                       编号：
                              </label>
                              <div class="input-group col-md-6 col-sm-12 col-xs-12">
                                   <input type="text" class="form-control" value=""  name="check_id">
                              </div> 
                        </div>
                         <div class="form-group">
                              <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
            姓名：
                              </label>
                              <div class="input-group col-md-6 col-sm-12 col-xs-12">
                                   <input type="text" class="form-control" value="{%$stu_data.student_name%}"  >
                              </div> 
                        </div>
                        <div class="form-group">
                              <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
                               原因：
                              </label>
                              <div class="input-group col-md-6 col-sm-12 col-xs-12">
                                早退&nbsp;<input type="checkbox" name="check_name[]" value="早退">&nbsp;
                           旷工&nbsp;<input type="checkbox" name="check_name[]" value="旷工">&nbsp;
                           迟到&nbsp;<input type="checkbox" name="check_name[]" value="迟到">&nbsp;
                              </div> 
                        </div>
 <!-- 时间日历标签 -->
                   <div class="form-group">
                           <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
                              时间：
                              </label>
                          <div class="input-group col-sm-4" style="float:left;">
                          <input id="from" class="form-control" value="" name="check_date" type="text">
                          <div class="input-group-addon" style="padding:6px 7px;">
                          <i class="fa fa-calendar"></i>
                          </div>
                          </div>
                   </div>
                   <div style="clear: both; height: 14px;"></div>
 
                        <div class="form-group">
                              <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
                                   备注：
                              </label>
                              <div class="input-group col-md-6 col-sm-12 col-xs-12">
                                    <textarea class="form-control" rows="3" name="check_msg"></textarea>
                              </div> 
                        </div>   
                    </div><!--box-body -->
                    <div class="box-footer text-center">
                        <button type="submit" class="btn btn-primary"> 确 定 </button>                      
                    </div>
               </form>
             </div><!--box box-default box-solid-->
         </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
     {%include file="index.footer.tpl.php"%}
       <script>
       /*日历编辑*/
       $(function() {
       	$( "#from" ).datepicker({
       		defaultDate: "+1w",
       		changeMonth: true,
       		changeYear: true,
       		numberOfMonths:1,
       		onClose: function( selectedDate ) {
       			$( "#to" ).datepicker( "option", "minDate", selectedDate );
       		}
       	});
       	$( "#to" ).datepicker({
       		defaultDate: "+1w",
       		changeMonth: true,
       		changeYear: true,
       		numberOfMonths:1,
       		onClose: function( selectedDate ) {
       			$( "#from" ).datepicker( "option", "maxDate", selectedDate );
       		}
       	});
       });
  </script>
